<?php /* Smarty version Smarty-3.1.8, created on 2012-10-27 16:34:27
         compiled from "E:\www\teraco/templates\admin\user\list.temp.html" */ ?>
<?php /*%%SmartyHeaderCode:6267508c0d1330c4d3-06833740%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '48c373258e2f990df70cf25017ee67e03d8a9f34' => 
    array (
      0 => 'E:\\www\\teraco/templates\\admin\\user\\list.temp.html',
      1 => 1351335087,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6267508c0d1330c4d3-06833740',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'menu' => 0,
    'base_url' => 0,
    'searchTerms' => 0,
    'listStatus' => 0,
    'op' => 0,
    'act' => 0,
    'pid' => 0,
    'infoText' => 0,
    'infoClass' => 0,
    'formId' => 0,
    'listObjects' => 0,
    'i' => 0,
    'object' => 0,
    'lang' => 0,
    'searchStatus' => 0,
    'orderBy' => 0,
    'orderDir' => 0,
    'page' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_508c0d137e3ef7_47780116',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_508c0d137e3ef7_47780116')) {function content_508c0d137e3ef7_47780116($_smarty_tpl) {?><?php if (!is_callable('smarty_function_l')) include 'E:\\www\\teraco\\libraries\\plugins\\function.l.php';
?><?php $_smarty_tpl->tpl_vars['formId'] = new Smarty_variable('list', null, 0);?>
<div id="content">
    <div class="highlight">
        <?php echo $_smarty_tpl->tpl_vars['menu']->value;?>

        <?php echo $_smarty_tpl->getSubTemplate ("admin/toolbar.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'toolbar'), 0);?>

        <div class="searchType">
        <form action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
" method="post" name="searchuser" id="searchuser">
            <fieldset>
                <h3><?php echo smarty_function_l(array('s'=>'search_for'),$_smarty_tpl);?>
</h3>
                <p>
                    <label><?php echo smarty_function_l(array('s'=>'keyword'),$_smarty_tpl);?>
</label>
                    <input type="text" id="searchTerms" name="searchTerms" value="<?php if (isset($_smarty_tpl->tpl_vars['searchTerms']->value)){?><?php echo $_smarty_tpl->tpl_vars['searchTerms']->value;?>
<?php }?>"/>
                    <label><?php echo smarty_function_l(array('s'=>'status'),$_smarty_tpl);?>
</label>
                    <select id="searchStatus" name="searchStatus">
                    	<option value="-1"><?php echo smarty_function_l(array('s'=>'all'),$_smarty_tpl);?>
</option>
                    	<?php echo $_smarty_tpl->tpl_vars['listStatus']->value;?>

                    </select>
                    <input type="hidden" id="op"  name="op" value="<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
" />
                    <input type="hidden" id="act" name="act" value="<?php echo $_smarty_tpl->tpl_vars['act']->value;?>
" />
                    <input type="hidden" id="pid" name="pid" value="<?php echo $_smarty_tpl->tpl_vars['pid']->value;?>
" />
                    <input type="submit" value="<?php echo smarty_function_l(array('s'=>'display'),$_smarty_tpl);?>
" title="<?php echo smarty_function_l(array('s'=>'display'),$_smarty_tpl);?>
" name="btnDisplay" class="btnDisplay" />
                </p>
            </fieldset>
        </form>
        </div>
        <?php if (isset($_smarty_tpl->tpl_vars['infoText']->value)){?>
        <div class="<?php echo $_smarty_tpl->tpl_vars['infoClass']->value;?>
">
            <h4><?php echo smarty_function_l(array('s'=>'Result'),$_smarty_tpl);?>
:</h4>
            <p><?php echo $_smarty_tpl->tpl_vars['infoText']->value;?>
</p>
        </div>
        <?php }?>
        <form id="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" name="<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
" action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
" method="post">
            <div class="tableContent">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <thead>
                        <tr>
                            <th><input class="box3" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('<?php echo $_smarty_tpl->tpl_vars['formId']->value;?>
');" /></th>
                            <th><?php echo smarty_function_l(array('s'=>'id'),$_smarty_tpl);?>
</th>
                            <th><?php echo smarty_function_l(array('s'=>'username'),$_smarty_tpl);?>
</th>
                            <th><?php echo smarty_function_l(array('s'=>'fullname'),$_smarty_tpl);?>
</th>
                            <th><?php echo smarty_function_l(array('s'=>'about'),$_smarty_tpl);?>
</th>
                            <th><?php echo smarty_function_l(array('s'=>'status'),$_smarty_tpl);?>
</th>
                            <th><?php echo smarty_function_l(array('s'=>'actions'),$_smarty_tpl);?>
</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php if ($_smarty_tpl->tpl_vars['listObjects']->value){?>
                            <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->tpl_vars['listObjects']->value['pages']['start'], null, 0);?>
                            <?php  $_smarty_tpl->tpl_vars['object'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['object']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['listObjects']->value['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['object']->key => $_smarty_tpl->tpl_vars['object']->value){
$_smarty_tpl->tpl_vars['object']->_loop = true;
?>
                                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable($_smarty_tpl->tpl_vars['i']->value+1, null, 0);?>
                                <tr<?php if ($_smarty_tpl->tpl_vars['i']->value%2==0){?> class="bgType"<?php }?>>
                                    <td><input class="box3" type="checkbox" name="oIds[]" value="<?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
" /></td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['object']->value->getField('id');?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['object']->value->getField('username');?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['lang']->value,'name');?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['object']->value->getFieldLangAdmin($_smarty_tpl->tpl_vars['lang']->value,'about');?>
</td>
                                    <td><?php if ($_smarty_tpl->tpl_vars['object']->value->isDeleted()){?><span style="color: #FF0000"><?php echo $_smarty_tpl->tpl_vars['object']->value->getStatusText();?>
</span><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['object']->value->getStatusText();?>
<?php }?></td>
                                    <td>
                                        <?php echo $_smarty_tpl->getSubTemplate ("admin/action.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'action'), 0);?>

                                    </td>
                                </tr>
                            <?php } ?>
                        <?php }?>
                    </tbody>
                </table>
                <div class="paging">
                    <p class="btnType">
                        <input type="hidden" id="op" name="op" value="<?php echo $_smarty_tpl->tpl_vars['op']->value;?>
" />       
                        <input type="hidden" id="act" name="act" value="<?php echo $_smarty_tpl->tpl_vars['act']->value;?>
" />
                        <input type="hidden" id="pid" name="pid" value="<?php echo $_smarty_tpl->tpl_vars['pid']->value;?>
" />
                        <input type="hidden" id="searchTerms" name="searchTerms" value="<?php echo $_smarty_tpl->tpl_vars['searchTerms']->value;?>
"/>
                        <input type="hidden" id="searchStatus" name="searchStatus" value="<?php echo $_smarty_tpl->tpl_vars['searchStatus']->value;?>
"/>
                        <input type="hidden" id="orderBy" name="orderBy" value="<?php echo $_smarty_tpl->tpl_vars['orderBy']->value;?>
"/>
                        <input type="hidden" id="orderDir" name="orderDir" value="<?php echo $_smarty_tpl->tpl_vars['orderDir']->value;?>
"/>
                        <input type="hidden" id="page" name="page" value="<?php echo $_smarty_tpl->tpl_vars['page']->value;?>
"/>
                        <input type="hidden" id="oId" name="oId" value=""/>
                        <input type="hidden" id="position" name="position" value=""/>
                        <input type="hidden" id="plus" name="plus" id="plus" value=""/>                        
                    </p>
					<?php echo $_smarty_tpl->getSubTemplate ("admin/paging.temp.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('title'=>'paging'), 0);?>

                </div>
            </div>
        </form>
    </div>
</div><?php }} ?>